package com.ybkj.chat.module.friend_center.activity;

import android.view.View;
import android.widget.LinearLayout;
import android.widget.Switch;

import com.ybkj.chat.R;
import com.ybkj.chat.base.BaseMvpActivity;
import com.ybkj.chat.manager.ActivityManager;

import butterknife.BindView;
import butterknife.OnClick;

/**
 * 管理群8.49
 */
public class ManageGroupActivity extends BaseMvpActivity {

    @BindView(R.id.edit_groupdata)
    LinearLayout editGroupdata;
    @BindView(R.id.edit_groupname)
    LinearLayout editGroupname;
    @BindView(R.id.switcn)
    Switch switcn;
    @BindView(R.id.forbidden_words)
    LinearLayout forbiddenWords;
    @BindView(R.id.manager)
    LinearLayout manager;
    @BindView(R.id.transfer_group)
    LinearLayout transferGroup;
    @BindView(R.id.Cancellation_group)
    LinearLayout CancellationGroup;

    @Override
    protected void injectPresenter() {

    }

    @Override
    protected void initTitle() {
        setTitleText("管理群");
    }

    @Override
    protected int getLayoutId() {
        return R.layout.activity_manage_group;
    }

    @Override
    protected void initView() {
    }


    @Override
    protected void initData() {

    }


    @OnClick({R.id.edit_groupdata, R.id.edit_groupname, R.id.forbidden_words, R.id.manager, R.id.transfer_group, R.id.Cancellation_group})
    public void onViewClicked(View view) {
        switch (view.getId()) {
            //编辑群资料
            case R.id.edit_groupdata:
                ActivityManager.gotoActivity(mContext, EditGroupDataActivity.class);
                break;
            //修改群名称
            case R.id.edit_groupname:
                ActivityManager.gotoActivity(mContext, EditGroupNameActivity.class);
                break;
            //群内禁言
            case R.id.forbidden_words:
                break;
            //管理员
            case R.id.manager:
                ActivityManager.gotoActivity(mContext, MangerActivity.class);
                break;
            //转让群
            case R.id.transfer_group:
                break;
            //注销群
            case R.id.Cancellation_group:
                break;
        }
    }
}
